package com.lily.test;

import com.lily.utils.JedisUtils;
import org.junit.Test;
import redis.clients.jedis.Jedis;

/**
 * @author lily
 */
public class testRedisByPoolUtil {

    @Test
    public void testString(){
        Jedis jedis = JedisUtils.getJedis();
        jedis.set("name","lily");
        String name = jedis.get("name");
        System.out.println(name);
        jedis.close();
    }
}
